home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
050
/
bix02.arc
/
BARS.PAS
next >
Wrap
Pascal/Delphi Source File
|
1986-08-04
|
1KB
|
29 lines
{to remove spurious BARS when scrolling on HiRes screen}
Program ScrollTest;
Var Ch : Char;
Begin
HiRes; HiResColor (Green); Gotoxy (1, 25);
Writeln ('This line will cause scrolling...');
Writeln ('This line will cause scrolling...'); {see the vertical bars}
Writeln ('This line will cause scrolling...');
Writeln ('This line will cause scrolling...');
Writeln ('(vertical bars = attribute byte used as fill char)' );
Read (Kbd, Ch);
HiResColor (Yellow);
TEXTCOLOR(0); TEXTBACKGROUND(0);
Writeln ('This line will cause scrolling...');
Writeln ('This line will cause scrolling...'); {no vertical bars}
Writeln ('This line will cause scrolling...');
Writeln ('This line will cause scrolling...');
Writeln ('This line will cause scrolling...');
Writeln ('This line will cause scrolling...');
Writeln ('(attribute byte of 00 eliminates vertical bars)');
Writeln ('(but, as long as the beer''s good, who cares?) ');
Read (Kbd, Ch);
TextMode (C80);
TextColor (LightGray);
Port [$03D9] := Blue; {border}
TextBackground (Blue);
ClrScr;
End.